package com.zf.shuashua.ui.mine.notice;

import android.widget.TextView;

import androidx.appcompat.widget.Toolbar;

import com.zf.shuashua.R;
import com.zf.shuashua.base.BaseActivity1;

/**
 * 消息-粉丝
 */
public class FeedActivity extends BaseActivity1 {

    private Toolbar mToolbar;
    private TextView mTvTitle;

    @Override
    protected void initView() {
        mToolbar = findViewById(R.id.toolbar);
        mTvTitle = findViewById(R.id.tv_title);
        initToolBar(mToolbar, true, "");
        mTvTitle.setText("粉丝");
        if(findFragment(FeedListFragment.class) == null){
            loadRootFragment(R.id.container, FeedListFragment.getFragment());
        }
    }

    @Override
    protected void initData() {
        NoticeMarkManager.getInstance().markRead(NoticeMarkManager.TYPE_FOLLOW);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_notice;
    }

}

